using System.Collections;
using System.Collections.Generic;
using BearUtil.Hidden;
using Sirenix.OdinInspector;
using UnityEngine;


namespace BearUtil
{
	[CreateNodeMenu(menuName:"自定义节点/物品合并动画"), Title("物品合并动画")]
	public class PlayItemsMerge : BearNode
	{		
		[LabelText("节点类型"), HideInInspector]
		public int type = 17;
		[LabelText("产物的id与数量")]
		public int[] product_id;
		[LabelText("原材料1id与数量")]
		public int[] material_id_1;
		[LabelText("原材料2id与数量")]
		public int[] material_id_2;
		[LabelText("产物位置x")]
		public float effect_pos_x;
		[LabelText("产物位置y")]
		public float effect_pos_y;
		
		public override void Transform()
		{
			base.Transform();
			
			// product_id = new int[2];
			// product_id[0] = Product.x;
			// product_id[1] = Product.y;
   //      
			// material_id_1 = new int[2];
			// material_id_1[0] = Material1.x;
			// material_id_1[1] = Material1.y;
   //      
			// material_id_2 = new int[2];
			// material_id_2[0] = Material2.x;
			// material_id_2[1] = Material2.y;
			// //
			// // product_id = ProductId;
			// // material_id_1 = MaterialID1;
			// // material_id_2 = MaterialID2;
   //      
			// effect_pos_x = ProductPos.x;
			// effect_pos_y = ProductPos.y;
		}
	}
}
